package org.car.world.core.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.car.world.core.entily.PictureTable;

import io.lettuce.core.dynamic.annotation.Param;

@Mapper
public interface PictureTableMapper {
    int deleteByPrimaryKey(Integer informationId);

    int insert(PictureTable record);

    PictureTable selectByPrimaryKey(Integer informationId);

    List<PictureTable> selectAll();

    int updateByPrimaryKey(PictureTable record);

    int updatePic(Integer picid);

    List<PictureTable> selectType(Integer pictype);

    int count(Integer pictype);

    List<PictureTable> selectLimit(@Param("form") Integer form, @Param("size") Integer size, @Param("pictype") Integer pictype);


}